/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.anniversary.service;

import me.zhengjie.modules.anniversary.service.dto.StatisticsInfoDto;
import me.zhengjie.modules.anniversary.service.dto.StudentTeacherStatisticDto;

import java.util.List;

/**
* @website https://el-admin.vip
* @description 服务接口
* @author Jiayin Wei
* @date 2020-07-27
**/
public interface StatisticsInfoService {

    /**
     * 查询学生校友性别分布
     * @return
     */
    List<StatisticsInfoDto> gender(String college);

    /**
     * 查询学生校友民族分布
     * @param top 前几项
     * @return
     */
    List<StatisticsInfoDto> nation(String college, Integer top);

    /**
     * 查询学生校友政治面貌分布
     * @param top 前几项
     * @return
     */
    List<StatisticsInfoDto> political(String college, Integer top);

    /**
     * 查询教师校友性别分布
     * @return
     */
    List<StatisticsInfoDto> genderTeacher();

    /**
     * 查询教师校友民族分布
     * @param top 前几项
     * @return
     */
    List<StatisticsInfoDto> nationTeacher(Integer top);

    /**
     * 查询教师校友政治面貌分布
     * @param top 前几项
     * @return
     */
    List<StatisticsInfoDto> politicalTeacher(Integer top);

    /**
     * 查询教师校友行业分布
     * @param top 前几项
     * @return
     */
    List<StatisticsInfoDto> industryTeacher(Integer top);

    /**
     * 查询教师校友部门分布
     * @param top 前几项
     * @return
     */
    List<StatisticsInfoDto> deptTeacher(Integer top);

    /**
     * 查询日志的统计信息
     * @param num 近几日
     * @return
     */
    List<StudentTeacherStatisticDto> stuTeacherIncreased(Integer num);
}
